const userRoutes = [
  {
    path: '/register',
    name: 'register',
    component: () => import('@/views/RegisterView.vue'),
    meta: {
      title: 'Register',
    },
  },
  {
    path: '/login',
    name: 'login',
    component: () => import('@/views/LoginView.vue'),
    meta: {
      title: 'Log in to eQuantum',
    },
  },
  {
    path: '/user/settings',
    name: 'profile',
    component: () => import('@/views/ProfileView.vue'),
    meta: {
      title: 'Account Settings',
      auth: true, // 需要认证
    },
  },
];

export default userRoutes;
